package com.org.javabody.isornot;

class StringFactory implements GetFactory {

    @Override
    public ReturnInterface GetFactory() {
        return new GetString();
    }
}

class ObjectFactory implements GetFactory {

    @Override
    public ReturnInterface GetFactory() {
        return new GetObject();
    }
}

/**
 * Created by Administrator on 2017-03-30.
 */
public interface GetFactory {
    public ReturnInterface GetFactory();
}
